package com.start.cms.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.start.cms.entity.StartCmsArticleEntity;
import com.start.cms.entity.VStartCmsArticleDetailEntity;

public interface StartCmsArticleService extends IService<StartCmsArticleEntity> {

    Page<VStartCmsArticleDetailEntity> pageArticleDetail(Page<VStartCmsArticleDetailEntity> page, Wrapper<VStartCmsArticleDetailEntity> wrapper);

    VStartCmsArticleDetailEntity articleDetailById(String articleId);

    Integer updateArticlePvUv(String articleId, Integer articlePv, Integer articleUv);
}
